xcButton Property Help Version 1
xcButton Main Menu | |
|
|
BACK TO xcCONTROLS MAIN HELP | PREVIOUS TOPIC | NEXT TOPIC |
Data Type: | Long Integer or OLE_COLOR |
Description: | Return or Set the color for the button background. |
Example: | object.xcBackColor = RGB(0,0,0) |
Data Type: | Boolean (True or False) |
Description: | Return or Set whether or not the background for the button is transparent. |
Example: | object.xcBackTransparent =True object.xcBackTransparent =False |
Data Type: | Integer |
Description: | Return or Set whether the button is in CLICK mode or in TOGGLE mode. In CLICK mode, the button action returns to its normal state when the user releases the mouse button. In TOGGLE mode, the button action remains in the current state until it is clicked again. |
Example: | object.xcButtonMode = 0 or Click object.xcButtonMode = 1 or Toggle |
Data Type: | Integer |
Description: | Return or Set the type of graphical Button type that is visible. |
Example: | object.xcLedType = 0 - Type1 |
Data Type: | String |
Description: | Return or Set the caption that is displayed under the button. |
Example: | object.xcCaption = "My Button" |
Data Type: | Long Integer or OLE_COLOR |
Description: | Return or Set the color of the caption |
Example: | object.xcCaptionColor = RGB(255,0,0) |
Data Type: | Boolean (True or False) |
Description: | Return or Set whether or not the caption is visible |
Example: | object.xcCaptionVisible = True |
Data Type: | Boolean (True or False) |
Description: | Return or Set whether or not the button is enabled or disabled. When the button is disabled it will not respond to any user actions or events. |
Example: | object.xcEnabled = True |
Data Type: | OLE FONT |
Description: | Return or Set the font, font size and font attributes. |
Example: | object.xcFont="MS Sans Serif" |
Data Type: | Boolean (True or False) |
Description: | Return or Set the current state of the button. |
Example: | object.xcValue = True |